import { CommonModule } from '@angular/common';
import { HttpClientModule } from '@angular/common/http';
import { NgModule } from '@angular/core';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { ButtonModule } from 'primeng/button';
import { TabViewModule } from 'primeng/tabview';
import { ComfirmDialogComponent } from './confirm-dialog/confirm-dialog.component';
import { DetailComponent } from './detail/detail.component';
import { DialogComponent } from './dialog/dialog.component';
import { ListTableComponent } from './list-table/list-table.component';
import { ListComponent } from './list/list.component';
import { LoadingComponent } from './loading/loading.component';
import { CommonDictPipe } from './pipe/common-dict.pipe';
import { ProtocolPanelComponent } from './protocol-panel/protocol-panel.component';

@NgModule({
  declarations: [
    ListComponent,
    DetailComponent,
    DialogComponent,
    ListTableComponent,
    LoadingComponent,
    ComfirmDialogComponent,
    ProtocolPanelComponent,
    CommonDictPipe
  ],
  imports: [
    CommonModule,
    HttpClientModule,
    FormsModule,
    ReactiveFormsModule,
    TabViewModule,
    ButtonModule
  ],
  exports: [
    CommonModule,
    HttpClientModule,
    FormsModule,
    ReactiveFormsModule,
    TabViewModule,
    ButtonModule,
    ListComponent,
    DetailComponent,
    DialogComponent,
    ListTableComponent,
    LoadingComponent,
    ComfirmDialogComponent,
    ProtocolPanelComponent,
    CommonDictPipe
  ]
})
export class RMobileCommonModule { }
